package com.sinux.generality.provider.pay.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 预支付下单记录表
 * </p>
 *
 * @author sinux
 * @since 2023-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="GptPayPrepay对象", description="预支付下单记录表")
public class GptPayPrepay implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "预支付id")
    private Long advanceId;

    @ApiModelProperty(value = "支付订单id")
    private Long payOrderId;

    @ApiModelProperty(value = "预支付订单有效期")
    private LocalDateTime timeExpire;

    @ApiModelProperty(value = "JSAPI预支付交易会话标识（微信）")
    private String prepayId;

    @ApiModelProperty(value = "Native下单二维码链接")
    private String codeUrl;

    @ApiModelProperty(value = "预下单方式（1-jsapi下单，2-Native下单）")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "1-开启 2-关闭")
    private Integer state;


}
